<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>支付页面</title>
    <meta name="description" content="" />
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="email=no" />
    <link rel="stylesheet" type="text/css" href="./css/pay.css" />
</head>

<body>
<div class="content">
    <div class="navigation" id="goback">LOK停车付费 </div>
    <div class="center">
        <div class="line first-line">
            <div class="line-title">停车时间</div>
            <div class="line-value"><?= date('m/d H:i', strtotime($model["from"])) ?> 至 <?= date('m/d H:i', strtotime($model["to"])) ?></div>
        </div>
        <div class="line ">
            <div class="line-title">停车时长</div>
            <div class="line-value"><?= $model["duration"] ?></div>
        </div>
        <div class="line end-line">
            <div class="line-title">停车费用</div>
            <div class="line-value">¥<?= $model["fee"] ?></div>
        </div>

        <div class="round-content">
            <div class="left-round"></div>
            <div class="dosh"></div>
            <div class="right-round"></div>
        </div>

        <div class="line first-line">
            <div class="line-title">优惠券</div>
            <div class="line-value">无></div>
        </div>
        <div class="line end-line">
            <div class="line-title">红包</div>
            <div class="line-value">无></div>
        </div>

        <div class="round-content">
            <div class="left-round"></div>
            <div class="dosh"></div>
            <div class="right-round"></div>
        </div>


        <div class="line end-line">
            <div class="line-title">实付金额</div>
            <div class="line-red-value">¥35</div>
        </div>
    </div>

    <div class="select-pay-content">
        <div class="pay-detail first-pay">
            <div class="pay-title"><img src="./images/zhifubao.png">支付宝支付</div>
            <div class="select" id="zhifubao"></div>

        </div>
        <div class="px-line"></div>
        <div class="pay-detail">
            <div class="pay-title"><img src="./images/weixin.png">微信支付</div>
            <div class="unselect" id="weixin"></div>
        </div>
    </div>

    <div class="pay-button" id="pay">确认支付</div>
    <div class="alert-font"> <img src="./images/alert.png">道路停车收费标准</div>

</div>

<form id="submit_form"  method="post">
    <input name="_csrf-park" type="hidden" id="_csrf-park" value="<?= Yii::$app->request->csrfToken ?>">
    <input name="order_id" type="hidden" id="order_id" value="<?=$model["order_id"]?>">
    <input name="pay_type" type="hidden" id="pay_type" value="2">
</form>
</body>
<script type="text/javascript" data-main="./js/pay.js" src="./js/require.js"></script>

</html>





